package cn.xuchunh.campusbbs.ui.activities;

import cn.xuchunh.campusbbs.R;
import cn.xuchunh.campusbbs.ui.fragments.UserProfileFragment;

/**
 * 我的资料
 * Created by XuChunH on 2016/3/12.
 */
public class UserProfileActivity extends FragmentContainerActivity<UserProfileFragment> {
    @Override
    protected UserProfileFragment getFrament() {
        return UserProfileFragment.newInstance(getUser());
    }

    @Override
    protected int containerId() {
        return R.id.container;
    }

    @Override
    protected int createContentRes() {
        return R.layout.layout_simple_container;
    }

    @Override
    protected void beforeInitView() {
        super.beforeInitView();
        setShowHomeUp(true);
        setTitle("我的资料");
    }
}
